2022 Method
Changes 0
M

RadialArray.Create

Description:
Creates a new radial array element from a set of elements based on an input rotation axis.
Overloads (2):
Create(Document,View,ICollection[ElementId],Int32,Line,Double,ArrayAnchorMember)
public static RadialArray Create(
	Document aDoc,
	View dBView,
	ICollection<ElementId> ids,
	int count,
	Line axis,
	double angle,
	ArrayAnchorMember anchorMember
)
  • aDoc
    The document.
  • dBView
    The view. If it is a 2d view, translation vector must be in the view plane if elements include view-specific elements. If elements include view-specific elements, they must belong to this view.
  • ICollection<ElementId>
    ids
    The set of elements to array. The position of the rotation axis is determined by the cumulative center of the elements' bounding boxes.
  • Int32
    count
    The number of array members to create. The accepted range is from 3 to 200.
  • axis
    The rotation axis.
  • Double
    angle
    The angle in radians of the rotation.
  • anchorMember
    Indicates if the translation vector specifies the location of the second member of the array, or the last member of the array.
Return Value RadialArray The new radial array element.